package com.leyou.item.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_spec_params")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SpecParam {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private Integer cid;

    @Column(name = "group_id")
    private Integer groupId;
    private String name;
    private Integer digital;
    private String unit;
    private Integer generic;
    private Integer searchable;
    private String options;
}
